package com.pingao.mp.modular.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pingao.mp.modular.sys.entity.Role;
import com.pingao.mp.modular.sys.entity.UserRoles;

import java.util.List;

public interface UserRolesService extends IService<UserRoles>{
    List<Role> listByUserId(Integer userId);

    void saveUserRoles(Integer userId, List<Integer> roleIds);
}
